package leetcode.code0073;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution73 implements IDebug {

	public abstract void setZeroes(int[][] matrix);

	@Override
	public void debug1() {
		int[][] matrix = HelpDebug.str2array1("[[1,1,1],[1,0,1],[1,1,1]]");
		this.setZeroes(matrix);
		int[][] e = HelpDebug.str2array1("[[1,0,1],[0,0,0],[1,0,1]]");
		HelpDebug.compare(e, matrix);

	}

	@Override
	public void debug2() {
		int[][] matrix = HelpDebug.str2array1("[[0,1,2,0],[3,4,5,2],[1,3,1,5]]");
		this.setZeroes(matrix);
		int[][] e = HelpDebug.str2array1("[[0,0,0,0],[0,4,5,0],[0,3,1,0]]");
		HelpDebug.compare(e, matrix);

	}

	@Override
	public void debug3() {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
